package ca.llsutherland.squash.domain.helper;

import ca.llsutherland.squash.domain.Clock;
import ca.llsutherland.squash.domain.CourtStyle;

public class CourtStylesHelper {

    public static CourtStyle createNewCourtStyle(String name, Clock dateCreated, Clock dateUpdated, Long id) {
        return new CourtStyle(name, dateCreated, dateUpdated, id);
    }

    public static void assertValid(CourtStyle courtStyle) {
        DomainObjectHelper.assertValidId(courtStyle.getId());
    }


}
